//package com.ax.center.controller;
//
//import com.ax.center.annotation.Logging;
//import com.ax.center.dto.ApiResponse;
//import com.ax.center.entity.LogM;
//import com.ax.center.service.LogMService;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//
///**
// * @author zy
// * @date 2023/7/10 11:41
// */
//
//@RestController
//@RequestMapping(value = "/logMController")
//@Api(tags = "数据库日志服务")
//@CrossOrigin(origins = "http://localhost:5173")
//public class LogMController {
//    @Autowired
//    private LogMService logMService;
//    @PostMapping("/无效的请求")
//    public void test(@RequestBody LogM role){
//        return;
//    }
//
//    @GetMapping("/query")
//    @Logging(description = "查询所有数据库的日志")
//    @ApiOperation("查询所有数据库的日志")
//    public ApiResponse queryAll(){
//        return logMService.queryAll();
//    }
//}
